@import "@styles/theme.scss";

$footerHeight: 100px;

.comment-footer {
  // NOTE RN 中没有 position: fixed，只能用 absolute 了或 flex 布局实现(此处不适用)
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: $footerHeight;
  @include flex-box(row,start,center);
  
  &__bar{
      flex:1;
     @include flex-box(row,start,center);
     @include border([top],1px,solid,#ddd);
     padding-top: 8px;
     background-color: #fff
    // padding-top: 10px;
  }
  &__input{
    padding-left: 20px;
    line-height: 70px;
    height: 70px;
    font-size: 32px;
    &-text{
      font-size: 32px;
      color:#999
    }

  }
  &__input-box{
   
    flex:1;
    border-radius: 40px;
    background-color: #f5f5f5;
    height: 70px;
    margin-left: 20px;
    

  }

  &__handle{
    width: 200px;
    margin-right: 30px;
    @include flex-box(row,betweent,center);
    //width: 600px;
    &-text{
      font-size: 22px;
      color:#999;
      line-height: 20px;
    }
    &-box{
      flex:1;
      @include flex-box(column,end,center);
    }
  }
  &__send-button{
    @include flex-box(row,center,center);
    width: 160px;
    &-text{
      font-size: 36px;
      color:#999;
    }
  }

}
.comment-area{
  flex:1;
  background-color: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  height: 600px;
  box-shadow: 0 0 20px #ddd;
  &__header{
    height: 100px;
    padding: 0 20px;
     @include flex-box(row,between,center);
      @include border([bottom],1px,solid,#ddd);
      &-text{
        font-size: 36px;
        color:#333;
      }
  }
  &__textarea{
    //padding: 20px;
    //margin:20px;
    font-size: 32px;
    color:#666;
  }
  &__body{
    padding: 20px;
  }
}
